import NoFound from "@/pages/global/NoFound";
import UnAccessible from "@/pages/global/UnAccessible";
import type { RunTimeLayoutConfig } from "umi";

export const myLayout: RunTimeLayoutConfig = () => {
  return {
    title: "小马学习平台",
    // 取消proLayout所以页面
    pure: true,
    // 自定义 403 页面
    unAccessible: <UnAccessible />,
    // 自定义 404 页面
    noFound: <NoFound />,
  };
};
